﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Net.Sockets;

namespace SC.Net
{
    public class TcpSeverDisConnectEventArgs : EventArgs
    {
        //错误信息
        public readonly string Exception;

        //失效的句柄
        public readonly Socket S;

        public TcpSeverDisConnectEventArgs(string exception, Socket s)
        {
            Exception = exception;
            S = s;
        }
    }
}
